<template>
  <div>
    <div>
      <div>
        <van-nav-bar
          title="积分记录"
          left-text="返回"
          left-arrow
          @click-left="onClickLeft"
        />
      </div>
    </div>
    <!--  -->
    <!-- <div v-for="item, i in integral_list" :key="i">
        <div class="top2">
            <div>
                <font size=2 color=aaaaaa>{{item.create_time}}</font>
            </div>
            <div>
                <font v-if="item.Add_num" color='FFD70A'><b>{{item.status}}</b></font>
                <font v-if="item.Del_num" color='red'><b>{{item.status}}</b></font>
            </div>
        </div>
        <hr>
    </div> -->
    <AboutView></AboutView>
    <!--  -->
    <div></div>
    <!--  -->
    <div></div>
    <!--  -->
    <div></div>
    <!--  -->
    <div></div>
    <!--  -->
  </div>
</template>

<script>
import AboutView from './AboutView.vue'
export default {
  name: "",
  data() {
    return {
        integral_list: [],
    };
  },
  props: {},

  components: {
    AboutView,
  },

  created() {},

  mounted() {
    // this.integralData();
  },

  methods: {
    onClickLeft(){
        this.$router.push('/')
    },
    // 获取积分数据
    integralData(){
        this.axios.get('/integral')
        .then(res =>{
            console.log('获取积分的响应：', res)
            this.integral_list = res.data.list
        })
    }
  },

  computed: {},

  watch: {},

  directives: {},

  filters: {},
};
</script>

<style scoped>
* {
  margin: 0;
}
.top2{
    display: flex;
    justify-content:space-between;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 6px;
    margin-top: 10px;
}

</style>
